package com.trkj.dao.jpa;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojos.LmbConsumableOutboundDetail;

public interface LmbConsumableOutboundDetailDAO extends CrudRepository<LmbConsumableOutboundDetail,String>{
	@Query("select max(c.codId) from LmbConsumableOutboundDetail c where c.codId like ?1%")
    public String findMaxID(String a);
	
	@Query("select c from LmbConsumableOutboundDetail c where c.codCoId =?1")
    public List<LmbConsumableOutboundDetail> findckxq(String a);
}
